package com.example.service.reporeReflection;

import com.example.entity.report.reportReflection.Audit;
import com.example.entity.report.reportReflection.Report;
import com.example.service.ZnxService;

public abstract class RootService {

    protected ZnxService znxService;


    //通知审核消息模板
    protected String REPORT_MESSAGE_MOLD = "有一条待处理%s:%s   备注:%s   %s";

    //取消上报消息模板
    protected String UN_REPORT_MESSAGE_MOLD = "%s:%s的上报被取消了   %s";

    //审核通过消息模板
    protected String AUDIT_SUCCESS_MESSAGE_MOLD = "上报的%s:%s通过了审核  %s";

    //审核拒绝消息模板
    protected String AUDIT_FAIL_MESSAGE_MOLD = "请求的%s:%s被%s拒绝  理由为:%s  %s";

    //标题
    protected String TITLE = "待办";

    /**
     * 单别单号分隔符
     */
    protected String SEPARATOR = "-";

    /**
     * 上报接口
     */
    public abstract void report(Report report);

    /**
     * 取消上报接口
     */
    public abstract void unReport(Report report);

    /**
     * 审核接口
     */
    public abstract void audit(Audit audit);
}
